package com.dingpeikeji.quickdeer.modules.rentproduct.entity;

import java.lang.reflect.Field;

public class ProCmptPeriod extends CommonProcedure{
	
	private Integer forsaleid;
	private Double suitrtnprice;
	private String efftdate;
	private String invaliddate;
	
	public ProCmptPeriod(){
		super();
	}
	
	public ProCmptPeriod toMap() {
		Field[] fields = this.getClass().getDeclaredFields();
		for (Field field : fields) {
			Object obj;
			try {
				obj = field.get(this);
				if (obj != null) {
					param.put(field.getName(), obj);
				}
			} catch (IllegalArgumentException e) {
				e.printStackTrace();
			} catch (IllegalAccessException e) {
				e.printStackTrace();
			}
		}
		return this;
	}
	

	public Double getSuitrtnprice() {
		return suitrtnprice;
	}

	public void setSuitrtnprice(Double suitrtnprice) {
		this.suitrtnprice = suitrtnprice;
	}


	public String getEfftdate() {
		return efftdate;
	}

	public void setEfftdate(String efftdate) {
		this.efftdate = efftdate;
	}

	public String getInvaliddate() {
		return invaliddate;
	}

	public void setInvaliddate(String invaliddate) {
		this.invaliddate = invaliddate;
	}

	public Integer getForsaleid() {
		return forsaleid;
	}

	public void setForsaleid(Integer forsaleid) {
		this.forsaleid = forsaleid;
	}

	
}

